package com.naiterui.ehp.bs.b2c.order.repository;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.b2c.order.entity.LogisticsRouteOrder;

@Repository
public interface ILogisticsRouteOrderRepository extends BaseJpaRepository<LogisticsRouteOrder, Long> {

    List<LogisticsRouteOrder> getByOrderIdOrderByCreatedAtDesc(Long orderId);

    void removeAllByOrderId(Long orderId);
}
